<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title><html:text name="sys.name" /></title>
</head>
<body> 
<script type="text/javascript">
	function saveFunction(){
		window.location="<%=WEBPATH%>/calendar/calendarEvent/index.crm";
	}
</script>
	<table class="detail" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header" align="center"><html:text
				name="calendarEvent.action" /></td>
		</tr>
		<tr>
			<td colspan="4" align="center"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.back"/> "></td>
		</tr> 
		<tr>
			<td colspan="4"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><html:text name="calendarEvent.userId">  </html:text></td>
					<td><html:property value="calendarEvent.userId"/></td>
					<td><html:text name="calendarEvent.title">  </html:text></td>
					<td><html:property value="calendarEvent.title"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.modifiedDate">  </html:text></td>
					<td><html:property value="calendarEvent.modifiedDate"/></td>
					<td><html:text name="calendarEvent.description">  </html:text></td>
					<td><html:property value="calendarEvent.description"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.startDate">  </html:text></td>
					<td><html:property value="calendarEvent.startDate"/></td>
					<td><html:text name="calendarEvent.endDate">  </html:text></td>
					<td><html:property value="calendarEvent.endDate"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.durHour">  </html:text></td>
					<td><html:property value="calendarEvent.durHour"/></td>
					<td><html:text name="calendarEvent.durMinute">  </html:text></td>
					<td><html:property value="calendarEvent.durMinute"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.allDay">  </html:text></td>
					<td><html:property value="calendarEvent.allDay"/></td>
					<td><html:text name="calendarEvent.typeId">  </html:text></td>
					<td><html:property value="calendarEvent.typeId"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.repeating">  </html:text></td>
					<td><html:property value="calendarEvent.repeating"/></td>
					<td><html:text name="calendarEvent.recurrence">  </html:text></td>
					<td><html:property value="calendarEvent.recurrence"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.remindBy">  </html:text></td>
					<td><html:property value="calendarEvent.remindBy"/></td>
					<td><html:text name="calendarEvent.firstReminder">  </html:text></td>
					<td><html:property value="calendarEvent.firstReminder"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.secondReminder">  </html:text></td>
					<td><html:property value="calendarEvent.secondReminder"/></td>
					<td><html:text name="calendarEvent.messageContent">  </html:text></td>
					<td><html:property value="calendarEvent.messageContent"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.shared">  </html:text></td>
					<td><html:property value="calendarEvent.shared"/></td>
					<td><html:text name="calendarEvent.remindAtOnce">  </html:text></td>
					<td><html:property value="calendarEvent.remindAtOnce"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.remindBySchedule">  </html:text></td>
					<td><html:property value="calendarEvent.remindBySchedule"/></td>
					<td><html:text name="calendarEvent.remindByMessage">  </html:text></td>
					<td><html:property value="calendarEvent.remindByMessage"/></td>
</tr>
<tr>
					<td><html:text name="calendarEvent.remindBySms">  </html:text></td>
					<td><html:property value="calendarEvent.remindBySms"/></td>
					<td><html:text name="calendarEvent.doneFlag">  </html:text></td>
					<td><html:property value="calendarEvent.doneFlag"/></td>

				<% 
				com.opensymphony.xwork2.util.ValueStack  obj=(com.opensymphony.xwork2.util.ValueStack)request.getAttribute("struts.valueStack");
				obj.setValue("calendarEvent", null); 
				%>
			</table>
			</td>
		</tr>
	</table>  
</body>
</html>